/* 
   该文件专门用于暴露一个store对象，整个应用只有一个store对象
*/
import { legacy_createStore, applyMiddleware } from "redux"; //引入它专门用于创建redux最核心的store对象
import counterReducer from './count_reducer' //引入为count组件服务的reducer
import {thunk} from 'redux-thunk'

export default legacy_createStore (counterReducer,applyMiddleware(thunk))
